import http  from "./http";

//支付发起
export type PayClass = {
    tradeNo: string;
    totalAmount: number;
    subject: string;
    body: string;
}


export const AiliPay = (params:PayClass)=>http.post("/pay/ailPay",params)


export const PayResult = (dataForm:any)=>http.post("/pay/returnUrl",dataForm)